﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Base.Learn.Entieys
{
    [Table("Departments")]
    public class DepartmentEntity : BaseBoEntity
    {
        /// <summary>
        /// 部门名
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 部门编号
        /// </summary>
        public string DepartmentNo { get; set; }

        /// <summary>
        /// 父级KeyId
        /// </summary>  
        public Guid? ParentKeyId { get; set; }

        /// <summary>
        /// 部门负责人KeyId
        /// </summary>  
        public Guid? DeptChiefKeyId { get; set; }

        /// <summary>
        /// 部门级别
        /// </summary> 
        public int Level { get; set; }

        /// <summary>
        /// 地址
        /// </summary>   
        public string Address { get; set; }

    }
}
